3.192 \(\int (a (b x^n)^p)^q \, dx\)

Optimal. Leaf size=21 \[ \frac{x \left (a \left (b x^n\right )^p\right )^q}{n p q+1} \]

[Out]

(x*(a*(b*x^n)^p)^q)/(1 + n*p*q)

________________________________________________________________________________________

Rubi [A]  time = 0.0141064, antiderivative size = 21, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {6679, 30} \[ \frac{x \left (a \left (b x^n\right )^p\right )^q}{n p q+1} \]

Antiderivative was successfully verified.

[In]

Int[(a*(b*x^n)^p)^q,x]

[Out]

(x*(a*(b*x^n)^p)^q)/(1 + n*p*q)

Rule 6679

Int[(u_.)*((c_.)*((d_.)*((a_.) + (b_.)*(x_))^(n_))^(p_))^(q_), x_Symbol] :> Dist[(c*(d*(a + b*x)^n)^p)^q/(a +
b*x)^(n*p*q), Int[u*(a + b*x)^(n*p*q), x], x] /; FreeQ[{a, b, c, d, n, p, q}, x] &&  !IntegerQ[p] &&  !Integer
Q[q]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin{align*} \int \left (a \left (b x^n\right )^p\right )^q \, dx &=\left (x^{-n p q} \left (a \left (b x^n\right )^p\right )^q\right ) \int x^{n p q} \, dx\\ &=\frac{x \left (a \left (b x^n\right )^p\right )^q}{1+n p q}\\ \end{align*}

Mathematica [A]  time = 0.0025106, size = 21, normalized size = 1. \[ \frac{x \left (a \left (b x^n\right )^p\right )^q}{n p q+1} \]

Antiderivative was successfully verified.

[In]

Integrate[(a*(b*x^n)^p)^q,x]

[Out]

(x*(a*(b*x^n)^p)^q)/(1 + n*p*q)

________________________________________________________________________________________

Maple [A]  time = 0.002, size = 22, normalized size = 1.1 \begin{align*}{\frac{x \left ( a \left ( b{x}^{n} \right ) ^{p} \right ) ^{q}}{npq+1}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*(b*x^n)^p)^q,x)

[Out]

x*(a*(b*x^n)^p)^q/(n*p*q+1)

________________________________________________________________________________________

Maxima [A]  time = 1.3853, size = 34, normalized size = 1.62 \begin{align*} \frac{a^{q}{\left (b^{p}\right )}^{q} x{\left ({\left (x^{n}\right )}^{p}\right )}^{q}}{n p q + 1} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*(b*x^n)^p)^q,x, algorithm="maxima")

[Out]

a^q*(b^p)^q*x*((x^n)^p)^q/(n*p*q + 1)

________________________________________________________________________________________

Fricas [A]  time = 1.81663, size = 76, normalized size = 3.62 \begin{align*} \frac{x e^{\left (n p q \log \left (x\right ) + p q \log \left (b\right ) + q \log \left (a\right )\right )}}{n p q + 1} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*(b*x^n)^p)^q,x, algorithm="fricas")

[Out]

x*e^(n*p*q*log(x) + p*q*log(b) + q*log(a))/(n*p*q + 1)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a \left (b x^{n}\right )^{p}\right )^{q}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*(b*x**n)**p)**q,x)

[Out]

Integral((a*(b*x**n)**p)**q, x)

________________________________________________________________________________________

Giac [A]  time = 1.11898, size = 36, normalized size = 1.71 \begin{align*} \frac{x e^{\left (n p q \log \left (x\right ) + p q \log \left (b\right ) + q \log \left (a\right )\right )}}{n p q + 1} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*(b*x^n)^p)^q,x, algorithm="giac")

[Out]

x*e^(n*p*q*log(x) + p*q*log(b) + q*log(a))/(n*p*q + 1)